#include "BrickZ.h"

#define BRICK_NUM	4

BrickZ::BrickZ(void) : Brick(BRICK_NUM, BRICK_TYPE_Z)
{
	init_brick();
}


BrickZ::~BrickZ(void)
{
	delete[] _coords;
}


void BrickZ::init_brick()
{
	_coords = new int[AXIS_NUM * BRICK_NUM];
	int coords[AXIS_NUM * BRICK_NUM] = {
		-1, 0, 0,
		0, 0, 0,
		0, -1, 0,
		1, -1, 0
	};
	memcpy(_coords, coords, sizeof(coords));
}
